package mongodb.spring;

import java.util.Arrays;
import java.util.List;

/**
 * @author zhoujunhua
 * @create 2020/11/18 12:32
 */
public class MongoConfig {
//    public static List<String> hosts = Arrays.asList("10.1.12.218:22010");
//    public static String database = "dbshejiao_kxdpz_gs_yxp_0001";
//    public static String username = "gs_yxp_0001";
//    public static String password = "DCUDSw_PsJ9";
//    public static int connections = 20;
//    public static int blockMultiplier = 4;
//    public static int maxWaitTime = 1500;
//    public static int connectTimeout = 3000;
//    public static int minConnections = 10;
//    public static int socketTimeout = 3000;

    public static List<String> hosts = Arrays.asList("localhost:27017");
    public static String database = "runoob";
    public static String username = "";
    public static String password = "";
    public static int connections = 20;
    public static int blockMultiplier = 4;
    public static int maxWaitTime = 1500;
    public static int connectTimeout = 3000;
    public static int minConnections = 10;
    public static int socketTimeout = 3000;
}
